<div class="bh-ly-jj-httop_lt bh-bottomBG bh-fl">
	<div class="bh-indexYuding-jj bh-ly-jj-borderBD">
		<div class="bh-indexyd-title-jj bh-ly-jj-btmb">
			<h1>酒店</h1>
		</div>
		<div class="bh-indexyd-con-jj">
			<?php $form = $this->beginWidget('CActiveFormAdv',array(
				'action' => Yii::app()->controller->createUrl('hotelList'),
				'method' => 'get',
				'htmlOptions' => array(
					'class' => 'bh-indexyd-form-jj'
					)
			))?>
			
			<table class='form-tb largespacing'>
				<tr><th>入住城市：</th><td><?php LyscHtml::citySelector($form, $model, 'province')?></td></tr>
				<tr><th>酒店星级：</th><td><?php echo $form->dropDownList($model, 'star', Yii::app()->enum->options('basic.hotelStar'))?></td></tr>
				<!--<tr><th>酒店位置：</th><td><?php echo $form->textField($model,'name',array(
						'class'=>'  bh-mtop5',
						'id'=>'hotel-name-a',
						'init-value' => '请输入酒店名称'#酒店地址、街道、附近地标、建筑物...
					))?></td></tr>
				--><tr><th>酒店名称：</th><td><?php echo $form->textField($model,'name',array(
						'class'=>' bh-mtop5',
						'id'=>'hotel-name',
						'init-value' => '请输入酒店名称'#酒店地址、街道、附近地标、建筑物...
					))?></td></tr>
			</table>
			
					<input type="submit" name="bh-ydchaxun-jj" class="bh-ydchaxun-jj bh-mtop10 bh-mL_23 bh-ly-ydchaxun-jj" value="搜索" />
			<?php $this->endWidget()?>
		</div>
		<div class="bh-space"></div>
	</div>
	<div class="bh-ly-jj-hot_city bh-padB20">
		<div class="bh-ly-jj-hot_1 bh-mtop8"><span class="bh-strong">热门城市：</span><br />
			<?php $form->controller->widget('coms.ui.ButtonList', array(
						'form' => $form,
						'model' => $model,
						'attribute' => 'province',
						'data' => Yii::app()->enum->options('district.hotel',false),
						'itemTemplate' => '<a class="{currentClass}" key="{key}">{value}</a>'
					));?>
		</div>
	</div>
</div>
<script>
bindTextInit($('#hotel-name-a'),$('#<?php echo $form->id?>'));
bindTextInit($('#hotel-name'),$('#<?php echo $form->id?>'));
</script>
